Skip to content

Conversation

@longsizhuo
Copy link
Member

No description provided.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex Review: Here are some suggestions.

Reply with @codex fix comments to fix any unresolved comments.

About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you open a pull request for review, mark a draft as ready, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".

Comment on lines +1 to +2
import * as React from "react";
import { Slot } from "@radix-ui/react-slot";

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P0] Declare Radix UI packages required by new UI components

The new button and other UI wrappers import Radix primitives such as @radix-ui/react-slot but package.json still doesn’t include any @radix-ui/* dependencies. When next build or pnpm dev resolves Button (used in multiple components) the resolver will throw Cannot find module '@radix-ui/react-slot' and the homepage cannot render. Add the required Radix packages (e.g. @radix-ui/react-slot, @radix-ui/react-accordion, …) to the dependencies list.

Useful? React with 👍 / 👎.

@longsizhuo longsizhuo merged commit 542b16d into main Sep 14, 2025
1 check passed
@longsizhuo longsizhuo deleted the feat/longsizhuo/newPage branch September 17, 2025 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants